import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { PluginsContainerComponent } from './pages/plugins-container/plugins-container.component';

const routes: Routes = [
    {
        path: '',
        redirectTo: 'plugins',
        pathMatch: 'full'
    },
    {
        path: 'plugins',
        component: PluginsContainerComponent
    }
];

@NgModule({
    imports: [RouterModule.forRoot(routes, { useHash: true })],
    exports: [RouterModule]
})
export class AppRoutingModule { }
